package com.bdqn.springbootmybatisplus.config;

import com.bdqn.springbootmybatisplus.SpringbootMybatisPlusApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * ServletInitializer
 *
 * @author LILIBO
 * @since 2021-12-01
 */
public class ServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(SpringbootMybatisPlusApplication.class);
    }
}
